package cn.gson.crmdemo.model.vo;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "Returndetailed")
public class ReturndetailedReturnProductVo {
	@Id
	@Column(name="rd_id")
	private int rdId;

	@Column(name="rd_ainputamount")
	private int rdAinputamount;

	@Column(name="rd_bamount")
	private int rdBamount;

	@Column(name="rd_bcause")
	private String rdBcause;

	@Column(name="rd_bprice")
	private BigDecimal rdBprice;

	@Column(name="rd_bsum")
	private BigDecimal rdBsum;

	@Column(name="rd_isornotuse")
	private int rdIsornotuse;

	@Column(name="rd_remark")
	private String rdRemark;

	@Column(name="rd_rinputamount")
	private int rdRinputamount;

	@Column(name="cp_id")
	private int product;

	@Column(name="r_id")
	private int returne;

	public int getRdId() {
		return rdId;
	}

	public void setRdId(int rdId) {
		this.rdId = rdId;
	}

	public int getRdAinputamount() {
		return rdAinputamount;
	}

	public void setRdAinputamount(int rdAinputamount) {
		this.rdAinputamount = rdAinputamount;
	}

	public int getRdBamount() {
		return rdBamount;
	}

	public void setRdBamount(int rdBamount) {
		this.rdBamount = rdBamount;
	}

	public String getRdBcause() {
		return rdBcause;
	}

	public void setRdBcause(String rdBcause) {
		this.rdBcause = rdBcause;
	}

	public BigDecimal getRdBprice() {
		return rdBprice;
	}

	public void setRdBprice(BigDecimal rdBprice) {
		this.rdBprice = rdBprice;
	}

	public BigDecimal getRdBsum() {
		return rdBsum;
	}

	public void setRdBsum(BigDecimal rdBsum) {
		this.rdBsum = rdBsum;
	}

	public int getRdIsornotuse() {
		return rdIsornotuse;
	}

	public void setRdIsornotuse(int rdIsornotuse) {
		this.rdIsornotuse = rdIsornotuse;
	}

	public String getRdRemark() {
		return rdRemark;
	}

	public void setRdRemark(String rdRemark) {
		this.rdRemark = rdRemark;
	}

	public int getRdRinputamount() {
		return rdRinputamount;
	}

	public void setRdRinputamount(int rdRinputamount) {
		this.rdRinputamount = rdRinputamount;
	}

	public int getProduct() {
		return product;
	}

	public void setProduct(int product) {
		this.product = product;
	}

	public int getReturne() {
		return returne;
	}

	public void setReturne(int returne) {
		this.returne = returne;
	}

	public ReturndetailedReturnProductVo(int rdId, int rdAinputamount, int rdBamount, String rdBcause,
			BigDecimal rdBprice, BigDecimal rdBsum, int rdIsornotuse, String rdRemark, int rdRinputamount, int product,
			int returne) {
		super();
		this.rdId = rdId;
		this.rdAinputamount = rdAinputamount;
		this.rdBamount = rdBamount;
		this.rdBcause = rdBcause;
		this.rdBprice = rdBprice;
		this.rdBsum = rdBsum;
		this.rdIsornotuse = rdIsornotuse;
		this.rdRemark = rdRemark;
		this.rdRinputamount = rdRinputamount;
		this.product = product;
		this.returne = returne;
	}

	public ReturndetailedReturnProductVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "ReturndetailedReturnProductVo [rdId=" + rdId + ", rdAinputamount=" + rdAinputamount + ", rdBamount="
				+ rdBamount + ", rdBcause=" + rdBcause + ", rdBprice=" + rdBprice + ", rdBsum=" + rdBsum
				+ ", rdIsornotuse=" + rdIsornotuse + ", rdRemark=" + rdRemark + ", rdRinputamount=" + rdRinputamount
				+ ", product=" + product + ", returne=" + returne + "]";
	}
	
	
	

}
